package com.situ.mall.VO;

public class CartItem {
	// 商品ID
	private Integer productId;
	// 用户id
	private Integer userId;
	// 商品图片地址
	private String product_name;
	// 商品数量
	private Integer amount;
	// 生成订单的商品单价
	private double product_price;
	// 商品总价
	private double product_total_price;

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getProduct_name() {
		return product_name;
	}

	public void setProduct_name(String product_name) {
		this.product_name = product_name;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public double getProduct_price() {
		return product_price;
	}

	public void setProduct_price(double product_price) {
		this.product_price = product_price;
	}

	public double getProduct_total_price() {
		return product_total_price;
	}

	public void setProduct_total_price(double product_total_price) {
		this.product_total_price = product_total_price;
	}

	@Override
	public String toString() {
		return "CartItem [productId=" + productId + ", userId=" + userId + ", product_name=" + product_name
				+ ", amount=" + amount + ", product_price=" + product_price + ", product_total_price="
				+ product_total_price + "]";
	}

}
